package com.cloud.common.utils;

import java.io.Serializable;
import java.util.List;

import javax.xml.crypto.Data;

/**
 * 
  * @Description: 响应分页返回的数据
  * @author: feelj
  * @date: 2018年10月8日 下午2:57:29 
  *
 */
public class PageResponse implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long total;
	private List<?> rows;

	public PageResponse(List<?> list, Long total) {
		this.rows = list;
		this.total = total;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}

}